package miiteen.hb.notice.dao;

import miiteen.data.dao.impl.BaseDaoImpl;
import miiteen.hb.notice.beans.Notice;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository("noticeDao")
public class NoticeDao extends BaseDaoImpl<Notice> {

    @Override
    protected String getMapper() {
        return "miiteen.hb.notice.beans.Notice";
    }

    @Resource(name = "hbSessionFactory")
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) {
        super.setSqlSessionFactory(sqlSessionFactory);
    }
}
